﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace V5_Book.Model {
    /// <summary>
    /// 书本信息
    /// </summary>
    public class ModelBookInfo {
        private string _BookName;
        /// <summary>
        /// 书本名称
        /// </summary>
        public string BookName {
            get { return _BookName; }
            set { _BookName = value; }
        }
        private DateTime _CreateTime;
        /// <summary>
        /// 书本入库时间
        /// </summary>
        public DateTime CreateTime {
            get { return _CreateTime; }
            set { _CreateTime = value; }
        }
        private int _BookIndex;
        /// <summary>
        /// 书本索引
        /// </summary>
        public int BookIndex {
            get { return _BookIndex; }
            set { _BookIndex = value; }
        }
        private List<ModelBookChapter> _ListBookChapter = new List<ModelBookChapter>();
        /// <summary>
        /// 章节信息
        /// </summary>
        public List<ModelBookChapter> ListBookChapter {
            get { return _ListBookChapter; }
            set { _ListBookChapter = value; }
        }
        private List<ModelBookMark> _ListBookMark = new List<ModelBookMark>();
        /// <summary>
        /// 标签信息
        /// </summary>
        public List<ModelBookMark> ListBookMark {
            get { return _ListBookMark = new List<ModelBookMark>(); }
            set { _ListBookMark = value; }
        }

        private DateTime _LastTime;
        /// <summary>
        /// 最后阅读时间
        /// </summary>
        public DateTime LastTime {
            get { return _LastTime; }
            set { _LastTime = value; }
        }
    }
}
